package com.maidada.codesharebackend.model.dto.tag;

import com.maidada.codesharebackend.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 标签分页查询请求
 *
 * @author wulinxuan
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TagQueryRequest extends PageRequest implements Serializable {

    /**
     * ID
     */
    private Long id;

    /**
     * 父标签id，null表示无父标签
     */
    private Long parentId;

    /**
     * 标签名
     */
    private String name;

    private static final long serialVersionUID = 1L;
}

